package org.jeecg.modules.sanitation2.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 打分方式设置
 * @Author: sn
 * @Date:   2022-05-27
 * @Version: V1.0
 */
@Data
@TableName("lwgy_score_param")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_score_param对象", description="打分方式设置")
public class LwgyScoreParam implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**指标性质*/
	@Excel(name = "指标性质", width = 15, dicCode = "sanitation_target_type")
	@Dict(dicCode = "sanitation_target_type")
    @ApiModelProperty(value = "指标性质")
    private String flag;
	/**指标*/
	@Excel(name = "指标", width = 15, dicCode = "target_type")
	@Dict(dicCode = "target_type")
    @ApiModelProperty(value = "指标")
    private String name;
	/**打分方式*/
	@Excel(name = "打分方式", width = 15, dicCode = "sanitation_score_way")
	@Dict(dicCode = "sanitation_score_way")
    @ApiModelProperty(value = "打分方式")
    private String mark;
	/**最小得分*/
	@Excel(name = "最小得分", width = 15)
    @ApiModelProperty(value = "最小得分")
    private String minso;
	/**间隔分数*/
	@Excel(name = "间隔分数", width = 15)
    @ApiModelProperty(value = "间隔分数")
    private String unit;
	/**最大得分*/
	@Excel(name = "最大得分", width = 15)
    @ApiModelProperty(value = "最大得分")
    private String maxso;
	/**评分标准*/
	@Excel(name = "评分标准", width = 15)
    @ApiModelProperty(value = "评分标准")
    private String remark;
	/**编码*/
	@Excel(name = "编码", width = 15)
    @ApiModelProperty(value = "编码")
    private String coding;
	/**显示顺序*/
	@Excel(name = "显示顺序", width = 15)
    @ApiModelProperty(value = "显示顺序")
    private String sort;
}
